package com.vhans.db.model.vo.quiz;

import com.vhans.core.web.model.vo.UserIntro;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * 学习中心题目列表VO
 *
 * @author vhans
 */
@Data
@ApiModel(description = "学习中心题目列表VO")
public class QuizStudyListVO {
    /**
     * 题目id
     */
    @ApiModelProperty(value = "题目id")
    private Integer id;

    /**
     * 提问者简介
     */
    @ApiModelProperty(value = "提问者简介")
    private UserIntro userIntro;

    /**
     * 提问标题
     */
    @ApiModelProperty(value = "提问标题")
    private String title;

    /**
     * 题目内容
     */
    @ApiModelProperty(value = "题目内容")
    private String content;

    /**
     * 浏览量
     */
    @ApiModelProperty(value = "浏览量")
    private Integer viewCount;

    /**
     * 点赞数
     */
    @ApiModelProperty(value = "点赞数")
    private Integer likeNumber;

    /**
     * 收藏数
     */
    @ApiModelProperty(value = "收藏数")
    private Integer collectNumber;

    /**
     * 是否解答 (0否 1是)
     */
    @ApiModelProperty(value = "是否解答 (0否 1是)")
    private Integer isSolve;

    /**
     * 题目标签名
     */
    @ApiModelProperty(value = "题目标签名")
    private List<String> tagNameList;

    /**
     * 发表时间
     */
    @ApiModelProperty(value = "发表时间")
    private LocalDateTime createTime;
}
